// pages/music/music.js
const {getHomeHttp}= require("../../models/music")
Page({
  data: {
    playlists:""
  },
  onLoad: async function (options) {
    var res = await getHomeHttp();
    this.setData({
      playlists:res.data.playlists
    })
    console.log(this.data.playlists);
  },
  handleClick(event){
    console.log(event.detail);
  }
})